package com.four.service;

import java.util.List;

import com.four.entity.Address;
import com.four.entity.Order;
import com.four.entity.OrderParam;
import com.four.entity.Product;
import com.four.entity.Shopping;

public interface OrderService {
	public List<Order> getOrder(OrderParam orderParam);

	public boolean uptOrd(Order ord);

	public List<Order> getQianAll(Integer userId);

	public List<Order> getOrdState(Integer userId);

	public List<Order> getFaState(Integer userId);

	public List<Order> getShouState(Integer userId);

	public List<Order> getDeliveryStatus(Integer userId);

	public Order getDanById(Integer ordId);

	public boolean updIdDelete(Integer ordId);

	public boolean updShouHuo(Integer ordId);

	public boolean insertDingDan(Integer userId, double ordPrice, String proAddress, String gettel, String getname,
			int addId);

	public boolean insertOder(Integer userId, Address addDanAddress, List<Shopping> getGouCart);

	public boolean insertDingDan(Order order);

	public boolean insertDanOrderdetails(Shopping addCart, String ordId);

	public List<Order> getOrdDaiFaHuo(Order ord);
}
